﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using WebApp.Data;

namespace WebApp.Services
{
    public class SampleService
    {
        public List<tbl_user> GetUsers(ref int count)
        {
            using (var db = new PAVINGDataContext())
            {
                count = db.tbl_users.Count();

                return db.tbl_users.ToList();
            }
        }
    }
}